package com.guoyw.seata.dubbo.account;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = "com.guoyw.seata.dubbo.account")
@EnableTransactionManagement
@MapperScan({"com.guoyw.seata.dubbo.account.mapper"})
@EnableDubbo(scanBasePackages = "com.guoyw.seata.dubbo.account")
public class AccountApplication{

  public static void main(String[] args){
    SpringApplication.run(AccountApplication.class, args);
  }

}
